package qldc.pm.tienan.service.persistence;

import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
import com.liferay.portal.kernel.util.ReferenceRegistry;


public class DoiTuongTienAnFinderUtil {
    private static DoiTuongTienAnFinder _finder;

    public static int countBySDDCN_CMND_HVT_SSHK_DCTT(
        java.lang.String soDinhDanhCaNhan, java.lang.String soCMND,
        java.lang.String hoVaTen, java.lang.String soSoHoKhau, long tinhId,
        long quanHuyenId, long phuongXaId, java.lang.String diaChi,
        java.util.Date tuNgayPhamToi, java.util.Date denNgayPhamToi,
        java.lang.String banAnSo, java.util.Date tuNgayToaAn,
        java.util.Date denNgayToaAn, int trangThai)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder()
                   .countBySDDCN_CMND_HVT_SSHK_DCTT(soDinhDanhCaNhan, soCMND,
            hoVaTen, soSoHoKhau, tinhId, quanHuyenId, phuongXaId, diaChi,
            tuNgayPhamToi, denNgayPhamToi, banAnSo, tuNgayToaAn, denNgayToaAn,
            trangThai);
    }

    public static java.util.List<java.lang.Object[]> findBySDDCN_CMND_HVT_SSHK_DCTT(
        java.lang.String soDinhDanhCaNhan, java.lang.String soCMND,
        java.lang.String hoVaTen, java.lang.String soSoHoKhau, long tinhId,
        long quanHuyenId, long phuongXaId, java.lang.String diaChi,
        java.util.Date tuNgayPhamToi, java.util.Date denNgayPhamToi,
        java.lang.String banAnSo, java.util.Date tuNgayToaAn,
        java.util.Date denNgayToaAn, int trangThai, int start, int end,
        com.liferay.portal.kernel.util.OrderByComparator obc)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder()
                   .findBySDDCN_CMND_HVT_SSHK_DCTT(soDinhDanhCaNhan, soCMND,
            hoVaTen, soSoHoKhau, tinhId, quanHuyenId, phuongXaId, diaChi,
            tuNgayPhamToi, denNgayPhamToi, banAnSo, tuNgayToaAn, denNgayToaAn,
            trangThai, start, end, obc);
    }

    public static int countBySSHK_DCTT(java.lang.String soSoHoKhau,
        java.util.Date tuNgayPhamToi, java.util.Date denNgayPhamToi,
        long tinhId, long quanHuyenId, long phuongXaId, java.lang.String diaChi)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder()
                   .countBySSHK_DCTT(soSoHoKhau, tuNgayPhamToi, denNgayPhamToi,
            tinhId, quanHuyenId, phuongXaId, diaChi);
    }

    public static int countByDS_XoaAnTich(long tinhId, long quanHuyenId,
        long phuongXaId, java.util.Date tuNgayXoaAnTich,
        java.util.Date denNgayXoaAnTich)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder()
                   .countByDS_XoaAnTich(tinhId, quanHuyenId, phuongXaId,
            tuNgayXoaAnTich, denNgayXoaAnTich);
    }

    public static java.util.List<java.lang.Object[]> findByDS_XoaAnTich(
        long tinhId, long quanHuyenId, long phuongXaId,
        java.util.Date tuNgayXoaAnTich, java.util.Date denNgayXoaAnTich,
        int start, int end,
        com.liferay.portal.kernel.util.OrderByComparator order)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder()
                   .findByDS_XoaAnTich(tinhId, quanHuyenId, phuongXaId,
            tuNgayXoaAnTich, denNgayXoaAnTich, start, end, order);
    }

    public static int countByLichSuPhamToi(java.lang.String soDinhDanhCaNhan,
        java.lang.String hoVaTen, long tinhId, long quanHuyenId,
        long phuongXaId, java.lang.String diaChi)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder()
                   .countByLichSuPhamToi(soDinhDanhCaNhan, hoVaTen, tinhId,
            quanHuyenId, phuongXaId, diaChi);
    }

    public static java.util.List<java.lang.Object[]> findByLichSuPhamToi(
        java.lang.String soDinhDanhCaNhan, java.lang.String hoVaTen,
        long tinhId, long quanHuyenId, long phuongXaId,
        java.lang.String diaChi, int start, int end)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder()
                   .findByLichSuPhamToi(soDinhDanhCaNhan, hoVaTen, tinhId,
            quanHuyenId, phuongXaId, diaChi, start, end);
    }

    public static int countBySoHoKhau(long tinhId, long quanHuyenId,
        long phuongXaId, java.lang.String diaChi, java.util.Date tuNgayPhamToi,
        java.util.Date denNgayPhamToi)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder()
                   .countBySoHoKhau(tinhId, quanHuyenId, phuongXaId, diaChi,
            tuNgayPhamToi, denNgayPhamToi);
    }

    public static java.util.List<java.lang.Object[]> findBySoHoKhau(
        long tinhId, long quanHuyenId, long phuongXaId,
        java.lang.String diaChi, java.util.Date tuNgayPhamToi,
        java.util.Date denNgayPhamToi, int start, int end)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder()
                   .findBySoHoKhau(tinhId, quanHuyenId, phuongXaId, diaChi,
            tuNgayPhamToi, denNgayPhamToi, start, end);
    }

    public static java.util.List<qldc.pm.tienan.model.TienAn> findTienAnBySoSoHoKhau(
        java.lang.String soSoHoKhau)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder().findTienAnBySoSoHoKhau(soSoHoKhau);
    }

    public static java.util.List<java.lang.Object[]> findByDS_HoGiaDinh(
        java.lang.String soSoHoKhau)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder().findByDS_HoGiaDinh(soSoHoKhau);
    }

    public static int countByDS_TaiPham(java.util.Date tuNgayPhamToi,
        java.util.Date denNgayPhamToi, long tinhId, long quanHuyenId,
        long phuongXaId, java.lang.String diaChi)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder()
                   .countByDS_TaiPham(tuNgayPhamToi, denNgayPhamToi, tinhId,
            quanHuyenId, phuongXaId, diaChi);
    }

    public static java.util.List<java.lang.Object[]> findByDS_TaiPham(
        java.util.Date tuNgayPhamToi, java.util.Date denNgayPhamToi,
        long tinhId, long quanHuyenId, long phuongXaId,
        java.lang.String diaChi, int start, int end)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder()
                   .findByDS_TaiPham(tuNgayPhamToi, denNgayPhamToi, tinhId,
            quanHuyenId, phuongXaId, diaChi, start, end);
    }

    public static java.util.List<java.lang.Object[]> findDSHoGiaDinhByVungDiaLy_ThoiGianToaAn(
        long tinhId, long quanHuyenId, long phuongXaId,
        java.util.Date tuNgayToaAn, java.util.Date denNgayToaAn, int start,
        int end, com.liferay.portal.kernel.util.OrderByComparator order)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder()
                   .findDSHoGiaDinhByVungDiaLy_ThoiGianToaAn(tinhId,
            quanHuyenId, phuongXaId, tuNgayToaAn, denNgayToaAn, start, end,
            order);
    }

    public static java.util.List<java.lang.Object[]> findDsTienAnByVungDiaLy_ThoiGian(
        long tinhId, long quanHuyenId, long phuongXaId,
        java.util.Date tuNgayToaAn, java.util.Date denNgayToaAn, int xoaAnTich,
        int start, int end,
        com.liferay.portal.kernel.util.OrderByComparator order)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder()
                   .findDsTienAnByVungDiaLy_ThoiGian(tinhId, quanHuyenId,
            phuongXaId, tuNgayToaAn, denNgayToaAn, xoaAnTich, start, end, order);
    }

    public static int countDSHoGiaDinhByVungDiaLy_ThoiGianToaAn(long tinhId,
        long quanHuyenId, long phuongXaId, java.util.Date tuNgayToaAn,
        java.util.Date denNgayToaAn) {
        return getFinder()
                   .countDSHoGiaDinhByVungDiaLy_ThoiGianToaAn(tinhId,
            quanHuyenId, phuongXaId, tuNgayToaAn, denNgayToaAn);
    }

    public static int countDsTienAnByVungDiaLy_ThoiGian(long tinhId,
        long quanHuyenId, long phuongXaId, java.util.Date tuNgayToaAn,
        java.util.Date denNgayToaAn, int xoaAnTich)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder()
                   .countDsTienAnByVungDiaLy_ThoiGian(tinhId, quanHuyenId,
            phuongXaId, tuNgayToaAn, denNgayToaAn, xoaAnTich);
    }

    public static java.util.Date findLatestNgayToaAn_bySoHoKhau(
        java.lang.String soHoKhau)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder().findLatestNgayToaAn_bySoHoKhau(soHoKhau);
    }

    public static DoiTuongTienAnFinder getFinder() {
        if (_finder == null) {
            _finder = (DoiTuongTienAnFinder) PortletBeanLocatorUtil.locate(qldc.pm.tienan.service.ClpSerializer.getServletContextName(),
                    DoiTuongTienAnFinder.class.getName());

            ReferenceRegistry.registerReference(DoiTuongTienAnFinderUtil.class,
                "_finder");
        }

        return _finder;
    }

    public void setFinder(DoiTuongTienAnFinder finder) {
        _finder = finder;

        ReferenceRegistry.registerReference(DoiTuongTienAnFinderUtil.class,
            "_finder");
    }
}
